﻿using GN.Pay.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.TradeChannel.YJPay.Response
{
    /// <summary>
    /// 通知实体
    /// </summary>
    [Serializable]
    class NotifyEntity : AResponseEntity
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="responseString"></param>
        /// <returns></returns>
        public static NotifyEntity Create(string responseString)
        {
            if (!string.IsNullOrEmpty(responseString))
            {
                return CommonExtension.JsonToObject(responseString, typeof(NotifyEntity), false) as NotifyEntity;
            }
            return null;
        }

        /// <summary>
        /// 通知时间
        /// </summary>
        public DateTime? notifyTime { get; set; }
    }
}
